package cm.ph.shopping.facade.order.request;

import cm.ph.shopping.facade.order.dto.ProductOrderDTO;
import cm.ph.shopping.facade.order.entity.PhMerchantOrder;
import java.io.Serializable;
import java.util.List;

/**
 * @项目：phshopping-facade-order
 * @描述：商户下单参数
 * @作者： Mr.zheng
 * @创建时间：2017-03-23
 * @Copyright @2017 by Mr.zheng
 */
public class OrderRequest implements Serializable{

    private static final long serialVersionUID = 2814056743076904557L;

    public OrderRequest(List<ProductOrderDTO> productOrderDTOList) {
        this.productOrderDTOList = productOrderDTOList;
    }

    public OrderRequest() {
    }

    /**
     * 订单类型 1商户向代理商进货 2代理商向供应商进货
     */
    private Integer orderType;

    /**
     * 订单信息
     */
    private List<ProductOrderDTO> productOrderDTOList;

    public List<ProductOrderDTO> getProductOrderDTOList() {
        return productOrderDTOList;
    }

    public void setProductOrderDTOList(List<ProductOrderDTO> productOrderDTOList) {
        this.productOrderDTOList = productOrderDTOList;
    }

    public Integer getOrderType() {
        return orderType;
    }

    public void setOrderType(Integer orderType) {
        this.orderType = orderType;
    }
}
